package com.example.firstboot.mapper;

import com.example.firstboot.entity.TbSchedule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TbScheduleMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TbSchedule record);

    int insertSelective(TbSchedule record);

    TbSchedule selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbSchedule record);

    int updateByPrimaryKey(TbSchedule record);

    List<TbSchedule> queryMonday(String account);

    int updatemonday(@Param("account") String account,@Param("monday") String monday);

    int updatetuesday(@Param("account") String account,@Param("tuesday") String tuesday);

    int updatewednesday(@Param("account") String account,@Param("wednesday") String wednesday);

    int updatethursday(@Param("account") String account,@Param("thursday") String thursday);

    int updatefriday(@Param("account") String account,@Param("friday") String friday);

    int updatesaturday(@Param("account") String account,@Param("saturday") String saturday);

    int updatesunday(@Param("account") String account,@Param("sunday") String sunday);
}